﻿@model HROReporting.Controllers.ViewModels.Docent.DocentDetailView

@{
    ViewBag.Title = "Details";
}

<h1 class="title">Docentgegevens</h1>

<div id="docent-details">
    <div id="left">
        <table>
            <tr>
                <td class="left"><h1>Docentcode:</h1></td>
                <td>@Model.Docent.DocentCode.Code</td>
            </tr>
            <tr>
                <td class="left"><h1>Achternaam:</h1></td>
                <td>@Model.Docent.Achternaam</td>
            </tr>
            <tr>
                <td class="left"><h1>Email:</h1></td>
                <td>@Model.Docent.Email</td>
            </tr>
            <tr>
                <td class="spacing"></td>
            </tr>
            <tr>
                <td class="left"><h1>Schoollocatie:</h1></td>
                <td>@Model.Docent.SchoolKantoor.SchoolLocatie.Locatie</td>
            </tr>
            <tr>
                <td class="left"><h1>Adres:</h1></td>
                <td>@Model.Docent.SchoolKantoor.SchoolLocatie.Adres</td>
            </tr>
            <tr>
                <td class="left"><h1>Postcode:</h1></td>
                <td>@Model.Docent.SchoolKantoor.SchoolLocatie.Postcode</td>
            </tr>
            <tr>
                <td class="left"><h1>Plaats:</h1></td>
                <td>@Model.Docent.SchoolKantoor.SchoolLocatie.Plaats</td>
            </tr>
            <tr>
                <td class="left"><h1>Kantoor:</h1></td>
                <td>@Model.Docent.SchoolKantoor.KantoorCode</td>
            </tr>
            <tr>
                <td class="spacing"></td>
            </tr>
            <tr>
                <td class="left" style="vertical-align: top;"><h1>Incheckingen:</h1></td>
                <td>
                    <ul>
                        @foreach (var inchecking in Model.Docent.DocentIncheckingen)
                        {
                            <li>@inchecking.Datum --- @inchecking.SchoolLokaal.LokaalCode</li>
                        }
                    </ul>
                </td>
            </tr>
        </table>
    </div>
    <div id="right"><img src="/Content/images/@Model.Docent.SchoolKantoor.SchoolLocatie.Adres-.png"></div>
</div>

